

libpolarhrm_la_LIBADD = -lxml2 \
	-lusb \
	$(GLIB_LIBS) 

SUBDIRS = \
	libpolarhrm

bin_PROGRAMS =  \
	simulate \
	test \
	polarhrm

simulate_SOURCES =  \
	cli/simulate_watch.cpp

simulate_LDADD = libpolarhrm.la \
	$(GLIB_LIBS) 

test_SOURCES =  \
	cli/test.cpp

test_CXXFLAGS = -I \
	/usr/include/libxml2 

test_LDFLAGS = -lxml2 \
	-lusb 

test_LDADD = libpolarhrm.la 

polarhrm_SOURCES =  \
	cli/polarhrm.cpp \
	cli/polarhrm.h \
	cli/polarhrm_config.h

polarhrm_LDADD = libpolarhrm.la \
	$(GLIB_LIBS) 

lib_LTLIBRARIES =  \
	libpolarhrm.la

libpolarhrm_la_SOURCES =  \
	libpolarhrm/file_operations.cpp   \
	libpolarhrm/file_operations.h   \
	libpolarhrm/Driver/driver.h   \
	libpolarhrm/Driver/driver.cpp   \
	libpolarhrm/Driver/irda_driver.h   \
	libpolarhrm/Driver/irda_driver.cpp   \
	libpolarhrm/Driver/datalnk_driver.cpp   \
	libpolarhrm/Driver/datalnk_driver.h   \
	libpolarhrm/S625X_watch/S625X.cpp   \
	libpolarhrm/S625X_watch/S625X.h   \
	libpolarhrm/S625X_watch/S625X_comm.cpp   \
	libpolarhrm/S625X_watch/S625X_comm.h   \
	libpolarhrm/S625X_watch/S625X_commands.h   \
	libpolarhrm/S625X_watch/S625X_parse_overview.cpp   \
	libpolarhrm/S625X_watch/S625X_parse_session.cpp   \
	libpolarhrm/S625X_watch/S625X_parse.h   \
	libpolarhrm/S625X_watch/S625X_parse.cpp   \
	libpolarhrm/RS800CX_watch/RS800CX.cpp   \
	libpolarhrm/RS800CX_watch/RS800CX.h   \
	libpolarhrm/RS800CX_watch/RS800CX_comm.cpp   \
	libpolarhrm/RS800CX_watch/RS800CX_comm.h   \
	libpolarhrm/RS800CX_watch/RS800CX_commands.h   \
	libpolarhrm/RS800CX_watch/RS800CX_parse_overview.cpp   \
	libpolarhrm/RS800CX_watch/RS800CX_parse_session.cpp   \
	libpolarhrm/RS800CX_watch/RS800CX_parse.h   \
	libpolarhrm/RS800CX_watch/RS800CX_parse.cpp   \
	libpolarhrm/Watch/Overview.cpp   \
	libpolarhrm/Watch/Overview.h   \
	libpolarhrm/Watch/RawSessionFile.cpp   \
	libpolarhrm/Watch/RawSessionFile.h   \
	libpolarhrm/Watch/RawSessions.cpp   \
	libpolarhrm/Watch/RawSessions.h   \
	libpolarhrm/Watch/wDate.cpp   \
	libpolarhrm/Watch/wDate.h   \
	libpolarhrm/Watch/HrmFile.cpp   \
	libpolarhrm/Watch/HrmFile.h   \
	libpolarhrm/Watch/Lap.cpp   \
	libpolarhrm/Watch/Lap.h   \
	libpolarhrm/Watch/Limit.cpp   \
	libpolarhrm/Watch/Limit.h   \
	libpolarhrm/Watch/Sample.cpp   \
	libpolarhrm/Watch/Sample.h   \
	libpolarhrm/Watch/Session.cpp   \
	libpolarhrm/Watch/Session.h   \
	libpolarhrm/Watch/sportZone.cpp   \
	libpolarhrm/Watch/sportZone.h   \
	libpolarhrm/Watch/wTime.cpp   \
	libpolarhrm/Watch/wTime.h   \
	libpolarhrm/Watch/Watch.h   \
	libpolarhrm/Watch/Watch.cpp   \
	libpolarhrm/util_functions.cpp   \
	libpolarhrm/util_functions.h   \
	libpolarhrm/Datanode.cpp   \
	libpolarhrm/Datanode.h   \
	libpolarhrm/libpolarhrm.cpp   \
	libpolarhrm/libpolarhrm.h   \
	libpolarhrm/supported_devices.h   \
	libpolarhrm/Watch/Gps.cpp   \
	libpolarhrm/Watch/Gps.h   \
	libpolarhrm/Watch/GpxFile.cpp   \
	libpolarhrm/Watch/GpxFile.h   \
	libpolarhrm/RCX5_watch/RCX5_comm.h   \
	libpolarhrm/RCX5_watch/RCX5_comm.cpp   \
	libpolarhrm/RCX5_watch/RCX5.cpp   \
	libpolarhrm/RCX5_watch/RCX5.h   \
	libpolarhrm/RCX5_watch/RCX5_parse.cpp   \
	libpolarhrm/RCX5_watch/RCX5_parse.h   \
	libpolarhrm/RCX5_watch/RCX5_parse_overview.cpp   \
	libpolarhrm/RCX5_watch/RCX5_parse_session.cpp   \
	libpolarhrm/Watch/PddFile.h   \
	libpolarhrm/Watch/PddFile.cpp   \
	libpolarhrm/Watch/ExercisePddFile.h   \
	libpolarhrm/Watch/ExercisePddFile.cpp   \
	libpolarhrm/libpolarhrm_debug.h   \
	libpolarhrm/libpolarhrm_debug.cpp

libpolarhrm_la_CXXFLAGS = -I \
	/usr/include/libxml2 
## Process this file with automake to produce Makefile.in

## Created by Anjuta

AM_CPPFLAGS = \
	-DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
	-DPACKAGE_SRC_DIR=\""$(srcdir)"\" \
	-DPACKAGE_DATA_DIR=\""$(datadir)"\" \
	$(GLIB_CFLAGS)